/* prevent to create draggable box in IE with prism */
pre[class*="language-"] {
  overflow: visible;
}

.toastui-editor-ww-code-block-highlighting {
  position: relative;
}

.toastui-editor-ww-code-block-highlighting:after {
  content: attr(data-language);
  position: absolute;
  display: inline-block;
  top: 10px;
  right: 10px;
  height: 24px;
  padding: 3px 30px 0 10px;
  font-weight: bold;
  font-size: 13px;
  color: #333;
  background-color: #e5e9ea;
  background-image: url('');
  background-repeat: no-repeat;
  background-position: right;
  background-size: 30px 30px;
  border-radius: 2px;
  cursor: pointer;
}

.toastui-editor-code-block-language {
  position: fixed;
  display: inline-block;
  right: 35px;
  z-index: 30;
}

.toastui-editor-code-block-language-input {
  position: relative;
  display: inline-block;
  padding: 0 22px 0 10px;
  width: 112px;
  height: 26px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
}

.toastui-editor-code-block-language-input input {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  color: #222;
  border: none;
  outline: none;
}

.toastui-editor-code-block-language-input input::placeholder {
  color: #ccc;
}

.toastui-editor-code-block-language-input input::-ms-clear {
  display: none;
}

.toastui-editor-code-block-language .toastui-editor-code-block-language-input::after {
  content: url('');
  position: absolute;
  display: inline-block;
  top: 7px;
  right: 5px;
  width: 12px;
  height: 14px;
}

.toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after {
  content: url('');
}

.toastui-editor-code-block-language-list {
  position: fixed;
  margin-top: -1px;
  width: 144px;
  border: solid 1px #ccc;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.toastui-editor-code-block-language-list .buttons {
  max-height: 169px;
  overflow: auto;
  padding: 0;
}

.toastui-editor-code-block-language-list button {
  width: 100%;
  background-color: #fff;
  border: none;
  outline: 0;
  padding: 0 10px;
  font-size: 13px;
  line-height: 24px;
  text-align: left;
  color: #222;
  cursor: pointer;
}

.toastui-editor-code-block-language-list button.active {
  color: #4b96e6;
  font-weight: bold;
}

.toastui-editor-code-block-language-list button:hover {
  background-color: #f4f7f8;
}

.toastui-editor-dark .toastui-editor-code-block-language-input input::placeholder {
  color: #eee;
}

.toastui-editor-dark .toastui-editor-ww-code-block-highlighting:after {
  background-color: #232428;
  border: 1px solid #393b42;
  color: #eee;
  background-image: url('');
}

.toastui-editor-dark .toastui-editor-code-block-language span {
  border: 1px solid #494c56;
  background-color: #121212;
}

.toastui-editor-dark .toastui-editor-code-block-language input {
  background-color: #121212;
  color: #eee;
}

.toastui-editor-dark .toastui-editor-code-block-language-list {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  border: 1px solid #494c56;
  border-radius: 2px;
}

.toastui-editor-dark .toastui-editor-code-block-language-list button {
  color: #eee;
  background-color: #121212;
}

.toastui-editor-dark .toastui-editor-code-block-language-list button.active {
  color: #4b96e6;
}

.toastui-editor-dark .toastui-editor-code-block-language-list button:hover {
  background-color: #36383f;
}

.toastui-editor-dark .toastui-editor-code-block-language .toastui-editor-code-block-language-input::after {
  content: url('');
}

.toastui-editor-dark .toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after {
  content: url('');
}